Cluster analysis in R | Finding out Intra and Inter cluster distances and optimum number of clusters